package cn.village.dao;
import cn.village.entity.ConstructionContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConstructionContractMapper {

	public ConstructionContract getConstructionContractById(@Param(value = "id") String id)throws Exception;

	public List<ConstructionContract>	getConstructionContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getConstructionContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertConstructionContract(ConstructionContract constructionContract)throws Exception;

	public Integer updateConstructionContract(ConstructionContract constructionContract)throws Exception;

	public Integer deleteConstructionContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteConstructionContract(Map<String,List<String>> params);

}